using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rotempco.Core.Logging.Objects;
using Rotempco.Core.Logging.Managers;
using Rotempco.Core.Logging.EntityObjects.Objects;
using Rotempco.Core.ORM.Objects.Stores;

namespace Rotempco.Core.Logging.Logic
{
    internal class Logger
    {
        # region [ Singleton Constructor ]

        public Logger()
        {
        }

        public static Logger Instance
        {
            get
            {
                return SingletonStore.Instance.GetInstance<Logger>(false);
            }
        }

        # endregion

        internal void AddToLogQueue(LogStack logEntry)
        {
            LogManagerFactory.Instance.LogManager.SaveLog(logEntry);
        }
    }
}
